import axios from 'axios';

const API_BASE_URL = 'https://example.com/api'; // 替换为你的实际API地址

export const holidayItem = () => {
  return axios.get(`${API_BASE_URL}/holidayItem`);
};

export const holidayAdd = (obj) => {
  return axios.post(`${API_BASE_URL}/holidayAdd`, obj);
};